package com.link2room.rodimus.handler.impl;

import com.link2room.common.service.ICommonService;
import com.link2room.rodimus.dto.param.base.SignInReissueHandlerParamDto;
import com.link2room.rodimus.factory.SignInDrawReissueHandlerFactory;
import com.link2room.rodimus.handler.ISignInDrawReissueHandler;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Created by LN on 2018/1/10
 */
@Component("signInDrawReissueHandler")
public class AbstractSignInDrawReissueHandler implements ISignInDrawReissueHandler {

    @Override
    public void signInReissue(String type ,SignInReissueHandlerParamDto paramDto) throws Exception {
        ISignInDrawReissueHandler hander = SignInDrawReissueHandlerFactory.getHandler(type);
        hander.signInReissue(type,paramDto);
    }


}
